<template>
  <div>
    <n-button type="primary" @click="handelSubmit">
      <template #icon>
        <n-icon>
          <IosSearch/>
        </n-icon>
      </template>
      查询
    </n-button>
    <n-button type="default" class="mx-1" @click="handelReset">
      <template #icon>
        <n-icon>
          <ZoomReset/>
        </n-icon>
      </template>
      重置
    </n-button>
  </div>
</template>

<script lang="ts" setup>
import {IosSearch} from "@vicons/ionicons4";
import {ZoomReset} from "@vicons/carbon";
const emits = defineEmits(["submit", "reset"]);
const handelSubmit = () => {
  emits("submit");
}
const handelReset = () => {
  emits("reset");
}
</script>

<style scoped lang="scss">

</style>